using System;
using System.Collections.Generic;
using System.Text;

namespace LowLevelGraphics.ImageAcquiring
{
    /// <summary>
    /// 
    /// </summary>
	public enum YahooSearchType
	{
        /// <summary>
        /// 
        /// </summary>
		all,
        /// <summary>
        /// 
        /// </summary>
		wallpaper,
        /// <summary>
        /// 
        /// </summary>
		large,
        /// <summary>
        /// 
        /// </summary>
		medium,
        /// <summary>
        /// 
        /// </summary>
		small,
        /// <summary>
        /// 
        /// </summary>
		none
	}

    /// <summary>
    /// 
    /// </summary>
	public enum ImageColorType
	{
        /// <summary>
        /// 
        /// </summary>
		bw,
        /// <summary>
        /// 
        /// </summary>
		color
	}

    /// <summary>
    /// 
    /// </summary>
	public class YahooOnlineSearchProvider : OnlineSearchProvider
	{
        /// <summary>
        /// Initializes a new instance of the <see cref="YahooOnlineSearchProvider"/> class.
        /// </summary>
		public YahooOnlineSearchProvider()
		{
			/*aSearchType.Add(SearchType.huge, "huge");   //gross
			aSearchType.Add(SearchType.xxlarge, "xxlarge"); //extragross
			aSearchType.Add(SearchType.small, "small|medium|large|xlarge"); //mittlere bilder
			aSearchType.Add(SearchType.icon, "icon");		//kleine bilder
			aSearchType.Add(SearchType.all, "");
			 */
			this.Host = "de.images.search.yahoo.com";
		}

        /// <summary>
        /// Downloads the files.
        /// </summary>
        /// <param name="_sSearch">The _s search.</param>
        /// <param name="_bUseWebClient">if set to <c>true</c> [_b use web client].</param>
		public override void DownloadFiles(string _sSearch, bool _bUseWebClient)
		{
			base.DownloadFiles(_sSearch, _bUseWebClient);
		}

		public override string ToString()
		{
			return "Yahoo";
		}
	}
}
